inherited fmAddFoodMenu: TfmAddFoodMenu
  Left = 423
  Top = 249
  Width = 487
  Height = 195
  Caption = #1044#1086#1073#1072#1074#1083#1077#1085#1080#1077' '#1085#1086#1074#1086#1075#1086' '#1084#1077#1085#1102'.'
  Constraints.MaxHeight = 195
  Constraints.MaxWidth = 487
  Constraints.MinHeight = 195
  Constraints.MinWidth = 487
  PixelsPerInch = 96
  TextHeight = 13
  object Label3: TLabel [0]
    Left = 7
    Top = 12
    Width = 123
    Height = 13
    Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1084#1077#1085#1102':'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clGray
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = [fsBold]
    ParentFont = False
  end
  inherited sbBottom: TStatusBar
    Top = 130
    Width = 471
  end
  inherited Panel1: TPanel
    Width = 471
    inherited BitBtn1: TBitBtn
      Left = 309
    end
    inherited BitBtn2: TBitBtn
      Left = 397
    end
  end
  object Panel10: TPanel [3]
    Left = 0
    Top = 45
    Width = 471
    Height = 85
    Align = alClient
    TabOrder = 2
    object Label2: TLabel
      Left = 7
      Top = 12
      Width = 123
      Height = 13
      Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1084#1077#1085#1102':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label4: TLabel
      Left = 7
      Top = 38
      Width = 128
      Height = 13
      Caption = #1044#1072#1090#1072' '#1076#1077#1081#1089#1090#1074#1080#1103' '#1084#1077#1085#1102':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label5: TLabel
      Left = 151
      Top = 38
      Width = 7
      Height = 13
      Caption = #1057
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label6: TLabel
      Left = 311
      Top = 38
      Width = 16
      Height = 13
      Caption = #1055#1054
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label1: TLabel
      Left = 7
      Top = 62
      Width = 94
      Height = 13
      Caption = #1043#1088#1091#1087#1087#1072' '#1087#1080#1090#1072#1085#1080#1103':'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clGray
      Font.Height = -11
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
    object eNameMenu: TcxTextEdit
      Left = 144
      Top = 8
      TabOrder = 0
      Width = 321
    end
    object eDateBegin: TcxDateEdit
      Left = 168
      Top = 32
      TabOrder = 1
      Width = 129
    end
    object eDateEnd: TcxDateEdit
      Left = 336
      Top = 32
      TabOrder = 2
      Width = 129
    end
    object cbgGroup: TcxComboBox
      Left = 144
      Top = 56
      Properties.Items.Strings = (
        #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076
        #1053#1072#1095#1072#1083#1100#1085#1072#1103' '#1096#1082#1086#1083#1072
        #1057#1088#1077#1076#1085#1103#1103' '#1096#1082#1086#1083#1072
        #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080)
      TabOrder = 3
      Width = 321
    end
  end
  object qMenuContent: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'select MC.*,'
      '       case'
      '         when MC.MCTYPE = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1'#39
      '         when MC.MCTYPE = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2'#39
      '         when MC.MCTYPE = 3 then '#39#1054#1073#1077#1076#39
      '         when MC.MCTYPE = 4 then '#39#1055#1086#1083#1076#1085#1080#39
      '         when MC.MCTYPE = 5 then '#39#1059#1078#1080#1085' '#8470'1'#39
      '         when MC.MCTYPE = 6 then '#39#1059#1078#1080#1085' '#8470'2'#39
      '       end as GR,'
      
        '       SD1.SDNAME as SDNAMES1, SD2.SDNAME as SDNAMES2, SD3.SDNAM' +
        'E as SDNAMES3, SD4.SDNAME as SDNAMES4,'
      
        '       SD5.SDNAME as SDNAMES5, SD6.SDNAME as SDNAMES6, SD7.SDNAM' +
        'E as SDNAMES7, SD8.SDNAME as SDNAMES8,'
      
        '       SD9.SDNAME as SDNAMES9, SD10.SDNAME as SDNAMES10, SD11.SD' +
        'NAME as SDNAMES11, SD12.SDNAME as SDNAMES12,'
      '       SD13.SDNAME as SDNAMES13, SD14.SDNAME as SDNAMES14'
      'from F_MENU_CONTENT MC'
      'left join SYS_DIC SD1 on SD1.SDID = MC.MCSDID1'
      'left join SYS_DIC SD2 on SD2.SDID = MC.MCSDID2'
      'left join SYS_DIC SD3 on SD3.SDID = MC.MCSDID3'
      'left join SYS_DIC SD4 on SD4.SDID = MC.MCSDID4'
      'left join SYS_DIC SD5 on SD5.SDID = MC.MCSDID5'
      'left join SYS_DIC SD6 on SD6.SDID = MC.MCSDID6'
      'left join SYS_DIC SD7 on SD7.SDID = MC.MCSDID7'
      'left join SYS_DIC SD8 on SD8.SDID = MC.MCSDID8'
      'left join SYS_DIC SD9 on SD9.SDID = MC.MCSDID9'
      'left join SYS_DIC SD10 on SD10.SDID = MC.MCSDID10'
      'left join SYS_DIC SD11 on SD11.SDID = MC.MCSDID11'
      'left join SYS_DIC SD12 on SD12.SDID = MC.MCSDID12'
      'left join SYS_DIC SD13 on SD13.SDID = MC.MCSDID13'
      'left join SYS_DIC SD14 on SD14.SDID = MC.MCSDID14'
      'where MC.MCISDELETE is null and'
      '      MC.MID = :MID'
      'order by MC.MCTYPE')
    GeneratorField.Field = 'SDID'
    Left = 192
    Top = 32
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'mid'
        ParamType = ptUnknown
      end>
    object qMenuContentMCID: TIntegerField
      FieldName = 'MCID'
      Origin = '"F_MENU_CONTENT"."MCID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qMenuContentMID: TIntegerField
      FieldName = 'MID'
      Origin = '"F_MENU_CONTENT"."MID"'
    end
    object qMenuContentMCTYPE: TIntegerField
      FieldName = 'MCTYPE'
      Origin = '"F_MENU_CONTENT"."MCTYPE"'
    end
    object qMenuContentNUM: TIntegerField
      FieldName = 'NUM'
      Origin = '"F_MENU_CONTENT"."NUM"'
    end
    object qMenuContentMCSDID1: TIntegerField
      FieldName = 'MCSDID1'
      Origin = '"F_MENU_CONTENT"."MCSDID1"'
    end
    object qMenuContentMCSDID2: TIntegerField
      FieldName = 'MCSDID2'
      Origin = '"F_MENU_CONTENT"."MCSDID2"'
    end
    object qMenuContentMCSDID3: TIntegerField
      FieldName = 'MCSDID3'
      Origin = '"F_MENU_CONTENT"."MCSDID3"'
    end
    object qMenuContentMCSDID4: TIntegerField
      FieldName = 'MCSDID4'
      Origin = '"F_MENU_CONTENT"."MCSDID4"'
    end
    object qMenuContentMCSDID5: TIntegerField
      FieldName = 'MCSDID5'
      Origin = '"F_MENU_CONTENT"."MCSDID5"'
    end
    object qMenuContentMCSDID6: TIntegerField
      FieldName = 'MCSDID6'
      Origin = '"F_MENU_CONTENT"."MCSDID6"'
    end
    object qMenuContentMCSDID7: TIntegerField
      FieldName = 'MCSDID7'
      Origin = '"F_MENU_CONTENT"."MCSDID7"'
    end
    object qMenuContentMCSDID8: TIntegerField
      FieldName = 'MCSDID8'
      Origin = '"F_MENU_CONTENT"."MCSDID8"'
    end
    object qMenuContentMCSDID9: TIntegerField
      FieldName = 'MCSDID9'
      Origin = '"F_MENU_CONTENT"."MCSDID9"'
    end
    object qMenuContentMCSDID10: TIntegerField
      FieldName = 'MCSDID10'
      Origin = '"F_MENU_CONTENT"."MCSDID10"'
    end
    object qMenuContentMCSDID11: TIntegerField
      FieldName = 'MCSDID11'
      Origin = '"F_MENU_CONTENT"."MCSDID11"'
    end
    object qMenuContentMCSDID12: TIntegerField
      FieldName = 'MCSDID12'
      Origin = '"F_MENU_CONTENT"."MCSDID12"'
    end
    object qMenuContentMCSDID13: TIntegerField
      FieldName = 'MCSDID13'
      Origin = '"F_MENU_CONTENT"."MCSDID13"'
    end
    object qMenuContentMCSDID14: TIntegerField
      FieldName = 'MCSDID14'
      Origin = '"F_MENU_CONTENT"."MCSDID14"'
    end
    object qMenuContentMCUSERENTER: TIBStringField
      FieldName = 'MCUSERENTER'
      Origin = '"F_MENU_CONTENT"."MCUSERENTER"'
      Size = 40
    end
    object qMenuContentMCTIMEENTER: TDateTimeField
      FieldName = 'MCTIMEENTER'
      Origin = '"F_MENU_CONTENT"."MCTIMEENTER"'
    end
    object qMenuContentMCUSEREDIT: TIBStringField
      FieldName = 'MCUSEREDIT'
      Origin = '"F_MENU_CONTENT"."MCUSEREDIT"'
      Size = 40
    end
    object qMenuContentMCTIMEEDIT: TDateTimeField
      FieldName = 'MCTIMEEDIT'
      Origin = '"F_MENU_CONTENT"."MCTIMEEDIT"'
    end
    object qMenuContentMCISDELETE: TIntegerField
      FieldName = 'MCISDELETE'
      Origin = '"F_MENU_CONTENT"."MCISDELETE"'
    end
    object qMenuContentGR: TIBStringField
      FieldName = 'GR'
      ProviderFlags = []
      FixedChar = True
      Size = 10
    end
    object qMenuContentSDNAMES1: TIBStringField
      FieldName = 'SDNAMES1'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES2: TIBStringField
      FieldName = 'SDNAMES2'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES3: TIBStringField
      FieldName = 'SDNAMES3'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES4: TIBStringField
      FieldName = 'SDNAMES4'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES5: TIBStringField
      FieldName = 'SDNAMES5'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES6: TIBStringField
      FieldName = 'SDNAMES6'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES7: TIBStringField
      FieldName = 'SDNAMES7'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES8: TIBStringField
      FieldName = 'SDNAMES8'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES9: TIBStringField
      FieldName = 'SDNAMES9'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES10: TIBStringField
      FieldName = 'SDNAMES10'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES11: TIBStringField
      FieldName = 'SDNAMES11'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES12: TIBStringField
      FieldName = 'SDNAMES12'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES13: TIBStringField
      FieldName = 'SDNAMES13'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
    object qMenuContentSDNAMES14: TIBStringField
      FieldName = 'SDNAMES14'
      Origin = '"SYS_DIC"."SDNAME"'
      Size = 255
    end
  end
end
